package model;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class Instituicao extends Cliente {
	
	@Id
	private int id;
	private Long cnpj;
	private String razaoSocial;
	
	public Instituicao(){
		this.setTipoCadastro(TipoCadastro.INSTITUICAO);
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public Long getCnpj() {
		return cnpj;
	}
	public void setCnpj(Long cnpj) {
		this.cnpj = cnpj;
	}
	public String getRazaoSocial() {
		return razaoSocial;
	}
	public void setRazaoSocial(String razaoSocial) {
		this.razaoSocial = razaoSocial;
	}
}
